const global = getApp().globalData;
const wxApi = global.wxApi;
Component({
  properties: {
    user: {
      type: Object
    }
  },
  methods: {
    onEditInfo() {
      wxApi.navigateTo('user-info/user-info');
    }
  }
})